﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using VisualAgile.Model;

namespace VisualAgile.Demo
{
    public class FakeProjectData
    {
        public static List<Project> CreateTestProjects()
        {

            List<Project> projects = new List<Project>() { 
                SomeProject(),
                DefaultProject(),
                DemoProject()              
            };

            for (int i = 0; i < 10; i++)
            {

                Project sampleProject = new Project()
                {
                   ID = Guid.NewGuid(),
                   CreateTime = DateTime.Now,                   
                   Name = "otherProject"                   
                };
                
                projects.Add(sampleProject);
            }

            return projects;
        }

        public static Project SomeProject()
        {
            Project someProject = new Project()
            {
                ID = new Guid("2EBDBC36-3585-47b3-8709-BE3184956938"),
                CreateTime = DateTime.Now,
                Name = "someProject"
            };

            return someProject;
        }

        public static Project DemoProject()
        {
            Project demo = new Project()
            {
                ID = new Guid("29DC7A46-52B5-4941-AAE2-F48592847E42"),
                CreateTime = DateTime.Now,
                Name = "demo"                
            };

            return demo;
        }

        public static Project DefaultProject()
        {
            Project Default = new Project()
            {
                ID = new Guid("BE4B0656-8685-439e-B4EA-66D5C9BA7508"),
                CreateTime = DateTime.Now,
                Name = "Default"
            };

            return Default;
        }      
    }
}
